package com.groupbuying.sysconfig.service;

import com.groupbuying.sysconfig.domain.SysconfigFunctionControlDO;

import java.util.List;
import java.util.Map;

/**
 * 功能控制表
 * 
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-06-24 07:37:21
 * @des
 */

public interface SysconfigFunctionControlService {
	
	SysconfigFunctionControlDO get(Integer id);
	
	List<SysconfigFunctionControlDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigFunctionControlDO sysconfigFunctionControl);
	
	int update(SysconfigFunctionControlDO sysconfigFunctionControl);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 通过中心名称获取拦截请求路径集合
	 * @param centerCode 中心编码
	 * @return
	 */
	List<String> getUrls(String centerCode);
}
